Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Sat, 5 Apr 2025 11:20:18 +0000 (13:20 +0200)
committerAlberto Garcia <berto@igalia.com>
Sat, 5 Apr 2025 11:20:18 +0000 (13:20 +0200)
Bug-Debian: https://bugs.debian.org/806816

===================================================================

Gbp-Pq: Name fix-ftbfs-sparc64.patch

Source/WTF/wtf/PlatformCPU.h

index d9d69a40ec06fea425324f7d7a0c3532f8be17bf..90ff790ce75840dcbb3e1b6b7b9e57cdf358f79f 100644 (file)
 #define WTF_CPU_KNOWN 1
 #endif
 
+/* CPU(SPARC64) - sparc64 */
+#if defined(__sparc__) && defined(__sparc_v9__)
+#define WTF_CPU_BIG_ENDIAN 1
+#endif
+
 /* CPU(X86) - i386 / x86 32-bit */
 #if   defined(__i386__) \
     || defined(i386)     \